import request from '@/utils/request'

// 查询园林人员关联监督小组列表
export function listExamineGroupPerson(query) {
  return request({
    url: '/comp/examineGroupPerson/groupPersonUserList',
    method: 'get',
    params: query
  })
}

// 查询园林人员关联监督小组详细
export function getExamineGroupPerson(id) {
  return request({
    url: '/comp/examineGroupPerson/' + id,
    method: 'get'
  })
}

// 新增园林人员关联监督小组
export function addExamineGroupPerson(data) {
  return request({
    url: '/comp/examineGroupPerson',
    method: 'post',
    data: data
  })
}

// 修改园林人员关联监督小组
export function updateExamineGroupPerson(data) {
  return request({
    url: '/comp/examineGroupPerson',
    method: 'put',
    data: data
  })
}

// 删除园林人员关联监督小组
export function delExamineGroupPerson(id) {
  return request({
    url: '/comp/examineGroupPerson/' + id,
    method: 'delete'
  })
}
